import Cookies from "js-cookie";

//设置一个 唯一的key  写入 cookie
const TokenKey = "hrsaas-ihrm";

export function getToken() {
  return Cookies.get(TokenKey);
}

export function setToken(token) {
  return Cookies.set(TokenKey, token);
}

export function removeToken() {
  return Cookies.remove(TokenKey);
}
